Release 10.1A: OpenEdge Development:
Messaging and ESB


Creating a PTP session procedure

In the following example, the application creates a session object by calling ptpsession.p persistently:

Creating a PTP session 
DEFINE VARIABLE ptpsession AS HANDLE. 
RUN  jms/ptpsession.p PERSISTENT SET ptpsession ("-H localhost -S 5162” ). 

Creating the session object specifies the connection parameters to the SonicMQ Broker. This allows an application to set different session-level attributes before starting the JMS session. The connection to the SonicMQ Broker and the JMS session does not occur until the application calls the beginSession procedure.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095